package com.brick.service;

import com.brick.entity.AccountLog;
import com.brick.mapper.AccountLogMapper;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;

import java.util.List;

@Service
public class AccountLogService {
    @Autowired
    AccountLogMapper accountLogMapper;

    public List<AccountLog> selectAll(AccountLog accountLog){
        return accountLogMapper.selectAll(accountLog);
    }

    public int insert(AccountLog accountLog){
        return accountLogMapper.insert(accountLog);
    }

    public int update(AccountLog accountLog){
        return accountLogMapper.update(accountLog);
    }
}
